package com.example.mapper;

import com.example.entity.Assetinfo;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface AssetinfoMapper {

    List<Assetinfo> selectAll(Assetinfo assetinfo);

    void insert(Assetinfo assetinfo);

    void updateById(Assetinfo assetinfo);

    @Delete("delete from `assetinfo` where id = #{id}")
    void deleteById(Integer id);

}
